package com.game.centerserver.infrastructure.entity;

import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2024-11-19 15:52:30
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -27405775506083358L;
    
    private Integer id;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品的具体信息
     */
    private String productInfo;
    /**
     * cpu核心数
     */
    private Integer cpuCores;
    /**
     * cpu主频
     */
    private Float cpuFrequency;
    /**
     * 内存大小，单位是GB
     */
    private Integer memSize;
    /**
     * 上行带宽
     */
    private Float upstreamBandwidth;
    /**
     * 下行带宽
     */
    private Float downstreamBandwidth;

    /**
     * 是否可以开启洞穴  0-不能开启洞穴  1-可以开启洞穴
     */
    private Integer shard;

    /**
     * 在售（已上架，用户可以买）、停售、已发布（未上架，用户还不能买）
     */
    private String status;


    public Integer getShard() {
        return shard;
    }

    public void setShard(Integer shard) {
        this.shard = shard;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductInfo() {
        return productInfo;
    }

    public void setProductInfo(String productInfo) {
        this.productInfo = productInfo;
    }

    public Integer getCpuCores() {
        return cpuCores;
    }

    public void setCpuCores(Integer cpuCores) {
        this.cpuCores = cpuCores;
    }

    public Float getCpuFrequency() {
        return cpuFrequency;
    }

    public void setCpuFrequency(Float cpuFrequency) {
        this.cpuFrequency = cpuFrequency;
    }

    public Integer getMemSize() {
        return memSize;
    }

    public void setMemSize(Integer memSize) {
        this.memSize = memSize;
    }

    public Float getUpstreamBandwidth() {
        return upstreamBandwidth;
    }

    public void setUpstreamBandwidth(Float upstreamBandwidth) {
        this.upstreamBandwidth = upstreamBandwidth;
    }

    public Float getDownstreamBandwidth() {
        return downstreamBandwidth;
    }

    public void setDownstreamBandwidth(Float downstreamBandwidth) {
        this.downstreamBandwidth = downstreamBandwidth;
    }

}

